package com.zte.sys.user.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Users {

  private String uId;
  private String uname;
  private String upassword;
  private String utelephone;
  private String jobId;
  private String sex;
  private String statusId;

  private Date hiredate;

  private Date leavedate;

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date birthday;
  private String deptId;
  private String deptName;
  private String jobName;
}
